using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DAL;
using DL;
/// <summary>
/// Summary description for UserRoleBL
/// </summary>
namespace BL 
{
    public class UserRoleBL  
    {
    	#region Private Variables
		UserRoleDAL objUserRoleDAL;
		#endregion
		
        #region Public Constructors
        public UserRoleBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objUserRoleDAL=new UserRoleDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(UserRoleDL objUserRoleDL)
        {
            return objUserRoleDAL.Insert(objUserRoleDL);
        }

        public int Update(UserRoleDL objUserRoleDL)
        {
             return objUserRoleDAL.Update(objUserRoleDL);

        }

        public int Delete(UserRoleDL objUserRoleDL)
        {
             return objUserRoleDAL.Delete(objUserRoleDL);

        }

         public int DeleteAll()
        {
             return objUserRoleDAL.DeleteAll();
        }

        public UserRoleDL Select(UserRoleDL objUserRoleDL)
        {
            return objUserRoleDAL.Select(objUserRoleDL);
        }

        public ArrayList SelectAll1( )
        {
         return objUserRoleDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objUserRoleDAL.SelectAll();
        }


     
#endregion          
    
    }

}
